<?php
class Adm_View_Helper_VotarUrl
	extends Zend_View_Helper_Abstract
{

	public function votarUrl( $idPedido )
	{
		$serverUrl = str_replace(array("adm.", "backend."), null, $this->view->serverUrl());
		
		$votarUrl = $serverUrl . "/" . strtolower($this->view->translate('vote')) . "/" . $idPedido;
		
		return $votarUrl;
	}

}